﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing.Drawing2D;
using System.Drawing;

namespace DigitalAnts.webUserControl
{
    public partial class UserSidebar : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        #region --- UserPage Hyperlink Prop
        public bool UserPage
        {
            get { return hpUserPage.Enabled; }
            set { hpUserPage.Enabled = value; }
        }

        public Color UserPageColor
        {
            get { return hpUserPage.ForeColor; }
            set { hpUserPage.ForeColor = value; }
        }

        public bool UserPageUnderline
        {
            get { return hpUserPage.Font.Underline; }
            set { hpUserPage.Font.Underline = value; }
        }
        #endregion ---

        #region --- Change Avatar
        public bool ChangeAvatar
        {
            get { return hpChangeAvatar.Enabled; }
            set { hpChangeAvatar.Enabled = value; }
        }

        public Color ChangeAvatarColor
        {
            get { return hpChangeAvatar.ForeColor; }
            set { hpChangeAvatar.ForeColor = value; }
        }

        public bool ChangeAvatardUnderline
        {
            get { return hpChangeAvatar.Font.Underline; }
            set { hpChangeAvatar.Font.Underline = value; }
        }
        #endregion ---

        #region --- AddProduct Hyperlink Prop
        public bool AddProduct
        {
            get { return hpAddProduct.Enabled; }
            set { hpAddProduct.Enabled = value; }
        }

        public Color AddProductColor
        {
            get { return hpAddProduct.ForeColor; }
            set { hpAddProduct.ForeColor = value;}
        }

        public bool AddProductUnderline
        {
            get { return hpAddProduct.Font.Underline; }
            set { hpAddProduct.Font.Underline = value; }
        }
        #endregion ---

        #region --- ProductList Hyperlink Prop
        public bool ProductList
        {
            get { return hpProductList.Enabled; }
            set { hpProductList.Enabled = value; }
        }

        public Color ProductListColor
        {
            get { return hpProductList.ForeColor; }
            set { hpProductList.ForeColor = value; }
        }

        public bool ProductListUnderline
        {
            get { return hpProductList.Font.Underline; }
            set { hpProductList.Font.Underline = value; }
        }
        #endregion ---

        #region --- ChangePassword Hyperlink Prop
        public bool ChangePasswordHyperlink
        {
            get { return hpChangePassword.Enabled; }
            set { hpChangePassword.Enabled = value; }
        }

        public Color ChangePasswordColor
        {
            get { return hpChangePassword.ForeColor; }
            set { hpChangePassword.ForeColor = value; }
        }

        public bool ChangePasswordUnderline
        {
            get { return hpChangePassword.Font.Underline; }
            set { hpChangePassword.Font.Underline = value; }
        }
        #endregion ---

        #region --- UserInfo Hyperlink Prop
        public bool UserInfo
        {
            get { return hpUserInfo.Enabled; }
            set { hpUserInfo.Enabled=value;}
        }

        public Color UserInfoColor
        {
            get { return hpUserInfo.ForeColor; }
            set { hpUserInfo.ForeColor = value; }
        }

        public bool UserInfoUnderline
        {
            get { return hpUserInfo.Font.Underline; }
            set { hpUserInfo.Font.Underline = value; }
        }
        #endregion ---
    }
}